/*
 * @Author: whr2349 378237242@qq.com
 * @Date: 2024-08-08 13:58:34
 * @LastEditors: whr2349 378237242@qq.com
 * @LastEditTime: 2025-08-18 09:31:33
 * @FilePath: \study-openlayers\src\main.ts
 * @Description: 
 * 
 * Copyright (c) 2025 by ${git_name_email}, All Rights Reserved. 
 */
import { createApp } from "vue";
import App from "./App.vue";
import { router } from "./router";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// import vform from "vform"
// import 'vform/dist/designer.style.css'
// @ts-ignore
import vform from "whr-form-v3/designer.umd.js"
import 'whr-form-v3/designer.style.css'
import './common/css/index.scss'
import VueFullscreen from 'vue-fullscreen'
import appCofnfig from "./utils/config";

const app = createApp(App);
app.use(ElementPlus,{
  locale: zhCn,
});
app.use(vform)
app.use(VueFullscreen)
// for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
//   app.component(key, component);
// }
app.use(router).mount("#app");
